package cn.edu.hqu.cst.lecture03_01.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import java.util.Date;

@TableName("employees")
@Data
public class Employee {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String firstName;
    private String lastName;
    private String position;
    private String department;
    private Date hireDate;

}

